Test Case Generation of Actor Systems
نویسندگان
چکیده
Testing is a vital part of the software development process. It is even more so in the context of concurrent languages, since due to undesired task interleavings and to unexpected behaviours of the underlying task scheduler, errors can go easily undetected. Test case generation (TCG) is the process of automatically generating test inputs for interesting coverage criteria, which are then applied to the system under test. This paper presents a TCG framework for actor systems, which consists of three main elements, which are the original contributions of this work: (1) a symbolic execution calculus, which allows symbolically executing the program (i.e., executing the program for unknown input data), (2) improved techniques to avoid performing redundant computations during symbolic execution, (3) new termination and coverage criteria, which ensure the termination of symbolic execution and guarantee that the test cases provide the desired degree of code coverage. Finally, our framework has been implemented and evaluated within the aPET system.
منابع مشابه
Testing of actor-based systems
Testing of actor/goal oriented systems cannot make too strict assumptions on the instantiated actors and the exchanged messages, since these vary from case to case. A genetic algorithm has been exploited to automatically produce test cases in a generic usage scenario, where the actor instantiations and the exchanged messages are evolved with the chromosomes. Copyright c © 2006 ITC-irst Document...
متن کاملTest Case Generation by Symbolic Execution: Basic Concepts, a CLP-Based Instance, and Actor-Based Concurrency
The focus of this tutorial is white-box test case generation (TCG) based on symbolic execution. Symbolic execution consists in executing a program with the contents of its input arguments being symbolic variables rather than concrete values. A symbolic execution tree characterizes the set of execution paths explored during the symbolic execution of a program. Test cases can be then obtained fro...
متن کاملReliability Assessment of Distribution Systems in Presence of Microgrids Considering Uncertainty in Generation and Load Demand
The microgrid concept provides attractive solutions for reliability enhancement of power distribution systems. Normally, microgrids contain renewable-energy-based Distributed Generation (DG) units, which their output power varies with different environmental conditions. In addition, load demand usually changes with factors such as hourly and seasonal customer activities. Hence, these issues hav...
متن کاملAn adaptive modified firefly algorithm to unit commitment problem for large-scale power systems
Unit commitment (UC) problem tries to schedule output power of generation units to meet the system demand for the next several hours at minimum cost. UC adds a time dimension to the economic dispatch problem with the additional choice of turning generators to be on or off. In this paper, in order to improve both the exploitation and exploration abilities of the firefly algorithm (FA), a new mo...
متن کاملLiquid Narrative Group Technical Report Number 03-000 Actor Conference: Character-focused Narrative Planning
The ability to generate narrative can be applied to entertainment and educational applications to the benefit of both. In this paper, I informally evaluate several narrative generation systems. Automated narrative generation systems can be classified as character-centric and author-centric techniques. Character-centric systems tend to develop narratives with strong character believability but w...
متن کامل